package cn.jslancer.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 *
 * @author jslancer
 * @date 2017/11/4
 */
@Data
@Document
public class Article extends Model {
    @Id
    private String id;
    private String title;
    private String content;

    private String image;

    private String url;
    private String author;
}
